﻿CREATE TABLE [dbo].[Orders] (
    [ID_Orders]   INT           IDENTITY (1, 1) NOT NULL,
    [Id_Company]  INT           NOT NULL,
    [Id_Proposal] INT           NULL,
    [Id_Client]   INT           NULL,
    [Id_Seller]   INT           NULL,
    [OrderDate]   SMALLDATETIME NOT NULL,
    [OrderFile]   VARBINARY (1) NULL,
    [OrderStatus] INT           NOT NULL
);

